#ifndef CPROGRESSBAR_H_HEADER_INCLUDED_B99C67B7
#define CPROGRESSBAR_H_HEADER_INCLUDED_B99C67B7
#include "StaticImg.h"
#include "GUI.h"

//##ModelId=4663813702FD
class CProgressBar : public StaticImg
{
    //##ModelId=4663836C00FA
public:
	float m_fRatio;
	virtual void acceptVisitor(IVisitor ** visitor);

	CProgressBar(const WCHAR * szBmpName,RECT rct,const WCHAR * name);
	virtual void draw(HDC * hdc);

	float GetValue(){return m_fRatio;}
	void SetValue(float value){m_fRatio = value;}
};

class GUI_API CBattery : public CProgressBar
{
	CBattery(const WCHAR * szBmpName,RECT rct,const WCHAR * name);
public:
	static CBattery* m_pInstance;
	static CBattery* getInstance(const WCHAR * szBmpName ,RECT rct,WCHAR * name);
	virtual void draw(HDC * hdc);
	void  SetPowerSate(PowerStatusType powStatus);
private:
	PowerStatusType m_powerState;
};

class CVolume : public CProgressBar
{
	CVolume(const WCHAR * szBmpName,RECT rct,const WCHAR* name);
public:
	static CVolume* m_pInstance;
	static CVolume* getInstance(const WCHAR * szBmpName,RECT rct,const WCHAR * name);
	virtual void draw(HDC * hdc);
};


#endif /* CPROGRESSBAR_H_HEADER_INCLUDED_B99C67B7 */
